package {
	
	import flash.display.Graphics;
	import mx.charts.renderers.BoxItemRenderer;
	import mx.utils.GraphicsUtil;

	public class ItemRenderer extends BoxItemRenderer {
		
		public var b:Boolean = false;
		
		override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
			super.updateDisplayList(unscaledWidth, unscaledHeight);
	        var g:Graphics = graphics;
	        if (b) {
	        	g.lineStyle(2, 0x000000, 1);
				g.lineTo(0, height - 1);	        	
				g.lineTo(0, 0);
				g.lineTo(width, 0);
				g.lineTo(width, height - 1);
	        }
		}
		
	}
	
}